package com.spvs.job.mapper;

import com.spvs.job.domain.EquipPointPlanRecord;

import java.util.List;

/**
 * 点检计划Mapper接口
 *
 * @author supervision
 * @date 2024-06-09
 */
public interface EquipPointPlanRecordMapper
{
    /**
     * 查询点检计划
     *
     * @param id 点检计划主键
     * @return 点检计划
     */
    public EquipPointPlanRecord selectEquipPointPlanRecordById(Long id);

    public List<EquipPointPlanRecord> selectAll(Integer code);

    /**
     * 查询点检计划列表
     *
     * @param equipPointPlanRecord 点检计划
     * @return 点检计划集合
     */
    public List<EquipPointPlanRecord> selectEquipPointPlanRecordList(EquipPointPlanRecord equipPointPlanRecord);

    /**
     * 新增点检计划
     *
     * @param equipPointPlanRecord 点检计划
     * @return 结果
     */
    public int insertEquipPointPlanRecord(EquipPointPlanRecord equipPointPlanRecord);

    /**
     * 修改点检计划
     *
     * @param equipPointPlanRecord 点检计划
     * @return 结果
     */
    public int updateEquipPointPlanRecord(EquipPointPlanRecord equipPointPlanRecord);

    /**
     * 删除点检计划
     *
     * @param id 点检计划主键
     * @return 结果
     */
    public int deleteEquipPointPlanRecordById(Long id);

    /**
     * 批量删除点检计划
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipPointPlanRecordByIds(Long[] ids);
}
